package com.剑指offer;

public class TreeNode
{
    TreeNode left = null;
    TreeNode right = null;
    int val;

    public TreeNode(int val)
    {
        this.val = val;
    }

    public TreeNode(int val, TreeNode left, TreeNode right)
    {
        this.left = left;
        this.right = right;
        this.val = val;
    }
}
